/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.trick.admin.factory;

import it.trick.admin.cell.ChapterTreeViewCell;
import it.trick.admin.model.ChapterModel;
import javafx.scene.control.TreeCell;
import javafx.scene.control.TreeView;
import javafx.util.Callback;

/**
 *
 * @author takahara
 */
public class ChapterTreeViewFactory implements Callback<TreeView<ChapterModel>, TreeCell<ChapterModel>> {

    @Override
    public TreeCell<ChapterModel> call(TreeView<ChapterModel> p) {
        return new ChapterTreeViewCell();
    }

}
